package com.buba.service;

import entity.FollowTopic;
import entity.VO.FollowTopicVO;

import java.util.List;

/**
 * @Author: 孔德嘉
 * @Description: TODOFollowTopicService
 * @DateTime: 2023/3/6 18:57
 **/
public interface FollowTopicService {
    /*
     * @param id
     * @return list
     * @author kdj
     * @describe:查询关注的话题
     * @date 2023/3/6 17:02
     */
    List<FollowTopicVO> getFollowTopicList(int id);

    /*
     * @param topicId 话题id
     * @param userId 用户id
     * @return int
     * @author kdj
     * @describe:修改话题被关注状态
     * @date 2023/3/9 11:52
     */
    int updateFollowTopicByUserId(int topicId,int userId);
}
